package com.euq.service;

import com.euq.entity.Role;
import com.euq.node.ZTreeNode;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface RoleService {
    PageInfo<Role> listAll(int page, int size);
    void delete(Long id);
    PageInfo<Role> selectRoles(int page, int size,String name,String tips);
    List<ZTreeNode> getRoleTreeNodes();
    void save(String name ,String tips,Long deptId,Long pid,int num);
}
